![]() |
PATH![]() |
![]() ![]() |
A script application is an application whose only function is to run the script associated with it. You can run a script application from the Finder much like any other application. For a description of how to create a script application, see Script Applications.
Every script application is a command handler and can respond to at least two commands: the Run command and the Open command. A script application receives a Run command whenever it is launched, and an Open command whenever another icon is dropped on its icon in the Finder.
A stay-open script application can receive and handle any commands for which it has a handler. All stay-open applications receive periodic Idle commands whenever they're not responding to other events. They also receive a Quit command when the user quits the application.
For descriptions of common command handlers, see the following sections: